Personal tools

Lua/Shared/Color/Static Functions/FromHSV

From JC2-MP Documentation

< Lua‎ | Shared‎ | Color
Jump to: navigation, search

Returns    Color
Prototype    Color.FromHSV(number hue, number saturation, number value)
Description    Returns a color with the specified values in HSV color space.


  • hue ranges from 0 - 360
  • saturation ranges from 0 - 1, 0 being greyscale
  • value ranges from 0 - 1, 0 being completely black

See Also